package designpattern.OpenClosedPrinciple.youhua;

import designpattern.OpenClosedPrinciple.old.AlertRule;
import designpattern.OpenClosedPrinciple.old.Notification;

public abstract class AlertHandler {
    protected AlertRule rule;
    protected Notification notification;
    public AlertHandler(AlertRule rule, Notification notification) {
        this.rule = rule;
        this.notification = notification;
    }
    public abstract void check(ApiStatInfo apiStatInfo);
}
